package com.lsa.skienna.challenge.chap1;

import java.util.Arrays;
import java.util.Collections;

public class c {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		for(int c = -1; c < 2; c += 1){
			for(int r = -1; r < 2; r += 1){
				System.out.print("[ " + c + " " + r+"]");
			}
			System.out.println();
		}
		
		Integer[] arr = new Integer[]{1,2,3};
		Collections.reverse(Arrays.asList(arr));
		for (Integer integer : arr) {
			System.out.println(integer);
		}
	}
}
